package io.plus.user_interface.common.packet;

import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class UserMessage implements Serializable {

    private static final long serialVersionUID = -1367597924020299919L;
    private String userid;//用户id;
    private Map<String, List<ChatMessage>> friends = new HashMap<String, List<ChatMessage>>();//好友消息;
    private Map<String, List<ChatMessage>> groups = new HashMap<String, List<ChatMessage>>();//群组消息;

    public UserMessage(String userid) {
        this.userid = userid;
    }
}
